#***********************************************************************BEGIN-HDR
#
#  Copyright (c) 1997-2006 Reaction Design.  All rights reserved.
#
#  $Header: /chemkin/trunk/prebuild/samples/sample_apps_f77/conp/conp_make.inc 19    8/22/10 7:29a Frupley $
#
#  $NoKeywords: $
#***********************************************************************END-HDR
#
# This make file is used to build the Chemkin CONP sample.

#
# targets to build
#

$(CHEMKINBIN)conp$(EXE)       : conp_driver.f conp.f
	$(CK_DISPLAY) Creating $@
	$(LINK) $? $(ALL_LIBRARIES)
	$(REMOVE) $(INTERMEDIATE_FILES)

#
# run the programs
#

#*************************************
#   Run gas-phase Chemkin interpreter
#     the input file is 'chem.inp'
#     the output file is 'chem.out'
#*************************************
chem.asc     : $(CHEMKINBIN)chem$(EXE) therm.dat chem.inp
	$(CK_DISPLAY) Running chem
	$(REMOVE) $(CHEM_OUTPUTS)
	$(CHEMKINBIN)chem -i chem.inp -o chem.out

#*************************************
#   Run CONP
#     the input file is 'conp.inp'
#     the output file is 'conp.out'
#*************************************
CONP_OUTPUTS = conp.out
conp.out     : $(CHEMKINBIN)conp$(EXE) chem.asc conp.inp
	$(CK_DISPLAY) Running conp
	$(CHEMKINBIN)conp < conp.inp > conp.out

ALL_EXES     = $(CHEMKINBIN)conp$(EXE)
CLEAN       :
	$(REMOVE) $(EXTRA_CLEAN) $(CONP_OUTPUTS) $(ALL_EXES)

# ----------------------------------------------------------------------------

